package com.sendpo.zjx.sendpo.domain;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 朱俊鑫 on 2018
 */

public class PrivateGenicInfoDomain implements Serializable {
    /**
     * msg :
     * flag : true
     * data : {"id":6,"title":"2018款最潮短袖","img":"http://www.tofacial.com:8080/img/V18Y0A4673J26VXLG5P8.jpg","description":"2018款最潮短袖，男士衣服","price":220,"remarks":"","details":[{"title":{"id":56,"title":"领形"},"value":[{"img":"http://www.tofacial.com:8080/img/N18E0Q5F32IT6VSH1TS4.jpg","id":68,"title":"白色圆领"},{"img":"http://www.tofacial.com:8080/img/L18Z035243IT6VLHKMBQ.jpg","id":69,"title":"黑色V领"},{"img":"http://www.tofacial.com:8080/img/81850U5PA1IT6V93SFOO.jpg","id":71,"title":"灰色圆领"}]}]}
     */

    private String msg;
    private boolean flag;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 6
         * title : 2018款最潮短袖
         * img : http://www.tofacial.com:8080/img/V18Y0A4673J26VXLG5P8.jpg
         * description : 2018款最潮短袖，男士衣服
         * price : 220
         * remarks :
         * details : [{"title":{"id":56,"title":"领形"},"value":[{"img":"http://www.tofacial.com:8080/img/N18E0Q5F32IT6VSH1TS4.jpg","id":68,"title":"白色圆领"},{"img":"http://www.tofacial.com:8080/img/L18Z035243IT6VLHKMBQ.jpg","id":69,"title":"黑色V领"},{"img":"http://www.tofacial.com:8080/img/81850U5PA1IT6V93SFOO.jpg","id":71,"title":"灰色圆领"}]}]
         */

        private int id=0;
        private String title="";
        private String img="";
        private String description="";
        private int price=0;
        private String remarks="";
        private List<DetailsBean> details;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public List<DetailsBean> getDetails() {
            return details;
        }

        public void setDetails(List<DetailsBean> details) {
            this.details = details;
        }

        public static class DetailsBean {
            /**
             * title : {"id":56,"title":"领形"}
             * value : [{"img":"http://www.tofacial.com:8080/img/N18E0Q5F32IT6VSH1TS4.jpg","id":68,"title":"白色圆领"},{"img":"http://www.tofacial.com:8080/img/L18Z035243IT6VLHKMBQ.jpg","id":69,"title":"黑色V领"},{"img":"http://www.tofacial.com:8080/img/81850U5PA1IT6V93SFOO.jpg","id":71,"title":"灰色圆领"}]
             */

            private TitleBean title;
            private List<ValueBean> value;

            public TitleBean getTitle() {
                return title;
            }

            public void setTitle(TitleBean title) {
                this.title = title;
            }

            public List<ValueBean> getValue() {
                return value;
            }

            public void setValue(List<ValueBean> value) {
                this.value = value;
            }

            public static class TitleBean {
                /**
                 * id : 56
                 * title : 领形
                 */

                private int id=0;
                private String title="";

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }

            public static class ValueBean {
                /**
                 * img : http://www.tofacial.com:8080/img/N18E0Q5F32IT6VSH1TS4.jpg
                 * id : 68
                 * title : 白色圆领
                 */

                private String img;
                private int id;
                private String title;

                public String getImg() {
                    return img;
                }

                public void setImg(String img) {
                    this.img = img;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }
    }
}
